import { createApp } from 'vue'
import pinia from '@/store'
import App from './App.vue'
import router from './router'
// antDesign
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/reset.css'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
// elementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

const app = createApp(App)
app.use(pinia)
app.use(router)
app.use(Antd, { locale: zhCN })
app.use(ElementPlus, { locale: zhCn })
app.mount('#app')
